﻿@model Lari.Services.ViewModel.UserProfileModel
@using Lari.Configuration
<div id="pagetitle">
    <h1>@ScreenName.Core.ChangeHintQuestion</h1>
</div>
<div class="spacer">
</div>
<div id="pagecontent">
    <table width="100%">
        <tr>
            <td width="30%" style="vertical-align: top">
                @{ Html.RenderPartial("ProfileNavigation"); }
            </td>
            <td width="5%" style="vertical-align: top">
                &nbsp;
            </td>
            <td width="65%" style="vertical-align: top">
                @using (Html.BeginForm(ActionConst.ChangeHintQuestion, ControllerConst.Core, FormMethod.Post, new { id = "FormQuestion" }))
                {
                    <fieldset>
                        <legend>Furnish hint questions and answers</legend>
                        @Html.AntiForgeryToken("hintquestion")
                        <div>
                            <strong>Note</strong>:- These questions and answer will help you to recover password,incase
                            you forgot your password</div>
                        <div class="doubleSpacer">
                        </div>
                        <div>
                            <label class="required">
                                Question&nbsp;<strong style="font-size: 10px; font-weight: bold"> (1)</strong></label>
                        </div>
                        <div>
                            @Html.TextBoxFor(m => m.HintQuestion1, new { style = "width: 100%" })
                            @Html.ValidationMessageFor(m => m.HintQuestion1)
                        </div>
                        <div>
                            <label class="required">
                                Answer&nbsp;<strong style="font-size: 10px; font-weight: bold"> (1)</strong></label>
                        </div>
                        <div>
                            @Html.TextBoxFor(m => m.HintAnswer1, new { style = "width: 100%" })
                            @Html.ValidationMessageFor(m => m.HintAnswer1)
                        </div>
                        <div class="doubleSpacer">
                        </div>
                        <div>
                            <label class="required">
                                Question&nbsp;<strong style="font-size: 10px; font-weight: bold"> (2)</strong></label>
                        </div>
                        <div>
                            @Html.TextBoxFor(m => m.HintQuestion2, new { style = "width: 100%" })
                            @Html.ValidationMessageFor(m => m.HintQuestion2)
                        </div>
                        <div>
                            <label class="required">
                                Answer&nbsp;<strong style="font-size: 10px; font-weight: bold"> (2)</strong></label>
                        </div>
                        <div>
                            @Html.TextBoxFor(m => m.HintAnswer2, new { style = "width: 100%" })
                            @Html.ValidationMessageFor(m => m.HintAnswer2)
                        </div>
                        <div class="doubleSpacer">
                        </div>
                        <div>
                            <label class="required">
                                Question&nbsp;<strong style="font-size: 10px; font-weight: bold"> (3)</strong></label>
                        </div>
                        <div>
                            @Html.TextBoxFor(m => m.HintQuestion3, new { style = "width: 100%" })
                            @Html.ValidationMessageFor(m => m.HintQuestion3)
                        </div>
                        <div>
                            <label class="required">
                                Answer&nbsp;<strong style="font-size: 10px; font-weight: bold"> (3)</strong></label>
                        </div>
                        <div>
                            @Html.TextBoxFor(m => m.HintAnswer3, new { style = "width: 100%" })
                            @Html.ValidationMessageFor(m => m.HintAnswer3)
                        </div>
                        <div class="doubleSpacer">
                        </div>
                        <div style="float: left">
                            <input type="submit" id="btnHintSubmit" value="Save" />
                        </div>
                        <div class="clear">
                        </div>
                    </fieldset>
                       
                }
            </td>
        </tr>
    </table>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        $("#btnHintSubmit").button();
    });
</script>
